package com.atguigu.inner.member;

public class Wai {
    private static int a = 1;
    private int b = 2;

    class Inner{
        private static int a = 3;
        private int b = 4;

        public void show(){
            System.out.println("外面a = " + Wai.a);
            System.out.println("里面a = " + a);
            System.out.println("外面的b = " + Wai.this.b);
            System.out.println("里面的b = " + this.b);
            //这里有2个this，有2个当前对象，一个是外部类的当前对象，一个是内部类的当前对象
            //因为为了show方法，需要创建2个对象
        }
    }
}
